package cloning.my;


public class ShallowSimpleObject implements Cloneable {

	private InnerObject inner;

	public InnerObject getInner() {
		return inner;
	}

	public void setInner(InnerObject inner) {
		this.inner = inner;
	}

	public ShallowSimpleObject clone() {
		try {
			return (ShallowSimpleObject) super.clone();
		} catch (CloneNotSupportedException e) {

			e.printStackTrace();
		}
		return null;
	}

}
